<?php
//header("location: ".$_SERVER['HTTP_REFERER']);
header( "Content-type: text/html; charset=gbk");
header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
ob_start();
?>
<?php
if( !isset($_SESSION))session_start();

$loginSuccessful = null;
function redirectTo($url){
	echo "<script>window.location=\"" . $url . "\"</script>";
}

$adminName = "test";
if( isset($_SESSION['adminName']) ) $adminName = $_SESSION['adminName'];
$adminPassWord = "test";
if( isset($_SESSION['adminPassWord']) ) $adminPassWord = $_SESSION['adminPassWord'];


$c_validate = "";
if(!empty($_SESSION["authnum_session"]))$c_validate = $_SESSION["authnum_session"];

if( !empty($_SESSION["loginSuccessful"]) )
$loginSuccessful = $_SESSION["loginSuccessful"];

//if( $loginSuccessful != "false" )$_SESSION["loginSuccessful"] = $loginSuccessful;
//echo $_SESSION["authnum_session"] ;
//echo $_SESSION["loginSuccessful"] ;
/*
$_SESSION["authnum_session"] = $c_validate;
$_SESSION["loginSuccessful"] = $loginSuccessful ;
*/
?>